#pragma once

#include "clkHeader.h"
#include "clkMath.h"

struct clkShape
{
	//attributes
	int m_type;

	float m_radius;
	float m_width;
	float m_height;

	clkAABB m_aabb;
	V2DF m_look;
	V2DF m_right;
	V2DF m_vertA[VERT_MAX];
	V2DF m_vertAN[VERT_MAX];
	V2DF m_vertR[VERT_MAX];
	V2DF m_vertRN[VERT_MAX];

	//ctor
	clkShape()
	{
		m_type = SHAPE_NONE;

		m_look = V2D_ZERO;
		m_right = V2D_ZERO;

		m_aabb.m_cen = V2D_ZERO;
		m_aabb.m_min = V2D_ZERO;
		m_aabb.m_max = V2D_ZERO;

		m_radius = 0.0f;
		m_width = 0.0f;
		m_height = 0.0f;
	}
};